package com.arpa.wms.domain.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 包材关系 VO
 * @author rfwang
 * @date 2021-08-26 10:07:46
 **/
@Data
@ApiModel(value="PackingMaterialGoodsVO对象", description="包材关系VO")
public class PackingMaterialGoodsVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "全局code")
    private String code;

    @ApiModelProperty(value = "所属机构code")
    private String groupCode;

    @ApiModelProperty(value = "商品标识")
    private String goodsCode;

    @ApiModelProperty(value = "商品编码")
    private String goodCode;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品数量")
    private BigDecimal quantity;

    @ApiModelProperty(value = "包材编码")
    private String packingMaterialCode;

    @ApiModelProperty(value = "包材名称")
    private String packingMaterialName;

    @ApiModelProperty(value = "包材容积")
    private BigDecimal volume;

    @ApiModelProperty(value = "创建时间")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime gmtCreated;

    @ApiModelProperty(value = "创建人")
    private String createdName;

    @ApiModelProperty(value = "修改人")
    private String modifiedName;

    @ApiModelProperty(value = "修改时间")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime gmtModified;

    @ApiModelProperty(value = "总数")
    private Long total;

    @ApiModelProperty(value = "包材关系快速匹配")
    private String fastMatching;

}
